package com.huajx.tuopuda.client.udp.codec.setting;

import com.huajx.tuopuda.client.udp.codec.NotContentCodec;

/**
 *
 * 采用UDP广播包方式, 端口是60000, 发出的数据包
 *
 * 搜索.NET设备[1101]
 *
 * @author: lisa 叶新华
 * @create: 2019-09-28 19:20
 */
public class SearchNetMachineCodec extends NotContentCodec {
    private int function = 0x1101;

    public static SearchNetMachineCodec getInstance(int sn) {
        return new SearchNetMachineCodec(sn);
    }

    protected SearchNetMachineCodec(int sn) {
        super(sn);
    }

    @Override
    public int getFunction() {
        return function;
    }
}
